package si.yun.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author Cxc 
 * @Author QQ:1304793236 
 * @Date 2021-09-04 17:26:20 
 */

public class SyUser implements Serializable {

	private static final long serialVersionUID =  9005960567233346455L;

	/**
	 * 自增主键
	 */
	private Integer userId;

	/**
	 * 用户真实姓名
	 */
	private String trueName;

	/**
	 * 性别
	 */
	private String sex;

	/**
	 * 账户账号唯一
	 */
	private String account;

	/**
	 * 头像url路径
	 */
	private String avatarUrl;

	/**
	 * 用户邮箱地址
	 */
	private String email;

	/**
	 * 账户登陆密码
	 */
	private String password;

	/**
	 * 备注
    */
	private String remark;

	/**
	 * 外键
	 */
	private Integer educationId;

	/**
	 * 是否启用（1Yes.2No）
     * */
	private Integer enabled;

	/**
	 * 手机号
	 */
	private String phoneNumber;

	/**
	 * 身份证号码
	 */
	private String idCard;

	/**
	 * 出生日期
	 */
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private String birthDate;

	/**
	 * 账户余额（外键）
	 */
	private Integer moneyId;

	/**
	 * 部门id（外键）
	 */
	private Integer deptId;

	/**
	 * 个性签名
	 */
	private String freestyle;

	/**
	 * 账户注册时间
	 */
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private String registerTime;

	/**
	 * 账户注册时ip地址
	 */
	private String registerIp;

	/**
	 * 1.使用中 2.已注销 3.冻结
	 */
	private Integer status;

	/**
	 * 工资
	 */
	private BigDecimal wages;

	/**
	 * 等级（1，2，3等)
	 */
	private Integer grade;

    /**
     * 服务器路径
     */
    private String path;

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }


  public String getTrueName() {
    return trueName;
  }

  public void setTrueName(String trueName) {
    this.trueName = trueName;
  }


  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }


  public String getAccount() {
    return account;
  }

  public void setAccount(String account) {
    this.account = account;
  }


  public String getAvatarUrl() {
    return avatarUrl;
  }

  public void setAvatarUrl(String avatarUrl) {
    this.avatarUrl = avatarUrl;
  }


  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }


  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }


  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }


  public Integer getEducationId() {
    return educationId;
  }

  public void setEducationId(Integer educationId) {
    this.educationId = educationId;
  }


  public Integer getEnabled() {
    return enabled;
  }

  public void setEnabled(Integer enabled) {
    this.enabled = enabled;
  }


  public String getPhoneNumber() {
    return phoneNumber;
  }

  public void setPhoneNumber(String phoneNumber) {
    this.phoneNumber = phoneNumber;
  }


  public String getIdCard() {
    return idCard;
  }

  public void setIdCard(String idCard) {
    this.idCard = idCard;
  }


  public String getBirthDate() {
    return birthDate;
  }

  public void setBirthDate(String birthDate) {
    this.birthDate = birthDate;
  }


  public Integer getMoneyId() {
    return moneyId;
  }

  public void setMoneyId(Integer moneyId) {
    this.moneyId = moneyId;
  }


  public Integer getDeptId() {
    return deptId;
  }

  public void setDeptId(Integer deptId) {
    this.deptId = deptId;
  }


  public String getFreestyle() {
    return freestyle;
  }

  public void setFreestyle(String freestyle) {
    this.freestyle = freestyle;
  }


  public String getRegisterTime() {
    return registerTime;
  }

  public void setRegisterTime(String registerTime) {
    this.registerTime = registerTime;
  }


  public String getRegisterIp() {
    return registerIp;
  }

  public void setRegisterIp(String registerIp) {
    this.registerIp = registerIp;
  }


  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }


  public BigDecimal getWages() {
    return wages;
  }

  public void setWages(BigDecimal wages) {
    this.wages = wages;
  }


  public Integer getGrade() {
    return grade;
  }

  public void setGrade(Integer grade) {
    this.grade = grade;
  }

}
